<div class="mainCon">
<form action="<?php echo site_url("orz/header") ?>" method="post" enctype="multipart/form-data" >
    <div class="breadCurmbs"><a href="#">头图设置（980*400）</a></div>
    <div class="box">
        <table cellpadding="0" cellspacing="0" border="0" class="table-1">
            <tr>
                <th class="num1">广告链接</th>
                <th class="num2">上传 / 修改图片</th>
                <th class="num3">广告图片</th>
            </tr>
            <tr>
                <td class="num1"><input type="text" name="header_url" value="<?php if(!empty($result['header_url'])) {echo $result['header_url'];} ?>" class="iInputBr linkInput" /></td>
                <td class="num2"><input type="file" class="iFile" name="header_img"/></td>
                <td class="num3"><img src="<?php if(!empty($result['header_img'])): ?><?php echo base_url();?>upload/<?php echo $result['header_img']; ?><?php endif;?>" /></td>
                <input type="hidden" name="header_img" value="<?php if(!empty($result['header_img'])) {echo $result['header_img'];} ?>" />
            </tr>
        </table>
        <div class="bottomPaging"> <input type="submit" class="fl iBtn addList" value="编辑"/><?php if($success){echo $success;} ?>
        </div>
    </div>
</form>
</div>
</div>

